.class Lcom/waiqin365/lightapp/chexiao/bu;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/bs;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/bs;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/chexiao/bs;->a(Lcom/waiqin365/lightapp/chexiao/bs;Z)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/bs;->a(Lcom/waiqin365/lightapp/chexiao/bs;)Lcom/waiqin365/lightapp/view/ag;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    const-string/jumbo v0, ""

    move v1, v2

    :goto_0
    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v3}, Lcom/waiqin365/lightapp/chexiao/bs;->b(Lcom/waiqin365/lightapp/chexiao/bs;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v1, v3, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/bs;->b(Lcom/waiqin365/lightapp/chexiao/bs;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v3

    goto :goto_0

    :cond_0
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/bs;->c(Lcom/waiqin365/lightapp/chexiao/bs;)Lcom/waiqin365/lightapp/product/d/j;

    move-result-object v1

    iput-object v0, v1, Lcom/waiqin365/lightapp/product/d/j;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/bs;->d(Lcom/waiqin365/lightapp/chexiao/bs;)Landroid/view/View$OnClickListener;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/bu;->a:Lcom/waiqin365/lightapp/chexiao/bs;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/bs;->d(Lcom/waiqin365/lightapp/chexiao/bs;)Landroid/view/View$OnClickListener;

    move-result-object v0

    invoke-interface {v0, p1}, Landroid/view/View$OnClickListener;->onClick(Landroid/view/View;)V

    :cond_2
    return-void
.end method
